<?php
$this->set('title_for_layout', 'Laksmi / Tényexport');


print $this->Form->create('Riport', array('id' => 'TenyexportForm', 'action' => 'tenyexport.xlsx', 'type' => 'file'));
print '<h3>Tény export</h3>';
print 'Utolsó hónap: ' . $this->Form->input('hoig',
							array(
								'label' => false,
								'type' => 'text',
								'value' => $this->request->data['Riport']['hoig'] ? $this->request->data['Riport']['hoig'] : date('n'),
								'size' => 2,
								'div' => false
								));
print $this->Form->file('File');
print $this->Form->end('Tény export');	
?>